﻿<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/zone/styles/layout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/zone/styles/wysiwyg.css")" rel="stylesheet" type="text/css" />

    <!-- Theme Start -->
    <link href="@Url.Content("~/Content/zone/themes/blue/styles.css")" rel="stylesheet" type="text/css" />

    <!--<link href="@Url.Content("~/Content/zone/themes/green/styles.css")" rel="stylesheet" type="text/css" />-->
    <!-- Theme End -->

    <script type="text/javascript" src="http://dwpe.googlecode.com/svn/trunk/_shared/EnhanceJS/enhance.js"></script>	
    <script type="text/javascript" src='http://dwpe.googlecode.com/svn/trunk/charting/js/excanvas.js'></script>
	<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.5.1.js")"></script>

    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="Stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>

    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/Scripts/ZoneJs/jquery.wysiwyg.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/ZoneJs/visualize.jQuery.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/ZoneJs/functions.js")"></script>



    <script type="text/javascript" src="@Url.Content("~/Scripts/CommonJs/Syswork.js")"></script>
    
    <!--[if IE 6]>
    <script type='text/javascript' src="@Url.Content("~/Scripts/ZoneJs/png_fix.js")"></script>
    <script type='text/javascript'>
      DD_belatedPNG.fix('img, .notifycount, .selected');
    </script>
    <![endif]--> 

    <!-- START Ckeditor  -->
    <script type="text/javascript" src="@Url.Content("~/ckeditor/ckeditor.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/ckfinder/ckfinder.js")"></script>
    <!-- END Ckeditor  -->
    @RenderSection("Head", false)

</head>
<body id="homepage">
	<div id="header">
        <a class="logo" href="@Url.Action("Index","Home")"><img src="@Url.Content("~/Content/images/logo.png")" alt="logo" height="50px" /></a>
    </div>
        
    <!-- Top Breadcrumb Start -->
    <div id="breadcrumb">
    	<ul>	
        	<li><img src="@Url.Content("~/Content/zone/img/icons/icon_breadcrumb.png")" alt="Location" /></li>
        	<li><strong>当前位置:</strong></li>
            <li class="current"><a href="@Url.Action("Index","Home")" title="">首页</a></li>
            <li>/</li>
            <li><a href="@Url.Action("Index","Zone")" title="">MySpace</a></li>
        </ul>
    </div>
    <!-- Top Breadcrumb End -->
     
    <!-- Right Side/Main Content Start -->
    <div id="rightside">
        <div id="Content_Div">
    	@RenderBody()
        </div>
        <div id="footer">
        	&copy; Copyright 2013 WatchMan
        </div> 
          
    </div>
    <!-- Right Side/Main Content End -->
    
        <!-- Left Dark Bar Start -->
    <div id="leftside">
    	<div class="user">
        	<img src="@Url.Content("~/Content/zone/img/avatar.png")" width="44" height="44" class="hoverimg" alt="Avatar" />
            <p>Logged in as:</p>
            <p class="username">@HttpContext.Current.User.Identity.Name</p>
            <p class="userbtn">@Html.ActionLink("配置", "AccountInf", "Account")</p>
            <p class="userbtn">@Html.ActionLink("注销", "LogOff", "Account")</p>
        </div>

        <div class="notifications">
        	<p class="notifycount"><a href="" title="" class="notifypop">10</a></p>
            <p><a href="" title="" class="notifypop">待处理信息</a></p>
            <p class="smltxt">(Click to open notifications)</p>
        </div>
        
        <ul id="nav">
            @{
                if(HttpContext.Current.User.IsInRole("Admin")){
        	        <li>
                        <ul class="navigation">
                            <li class="heading selected">项目管理</li>
                            <li><a href="@Url.Action("Index", "Project")" title="">项目列表</a></li>
                            <li><a href="@Url.Action("Create","Project")" title="">添加项目</a></li>
                        </ul>
                    </li>
                    <li>
                        <a class="collapsed heading">新闻管理</a>
                         <ul class="navigation">
                            <li><a href="@Url.Action("Index","News")" title="">新闻列表</a></li>
                            <li><a href="@Url.Action("Create","News")" title="">添加新闻</a></li>
                        </ul>
                    </li>
                    <li><a class="expanded heading">Slider</a>
                        <ul class="navigation">
                            <li><a href="@Url.Action("Index","Slider")" title="" class="likelogin">Slider列表</a></li>
                            <li><a href="@Url.Action("Create","Slider")" title="">添加Slider</a></li>
                        </ul>
                    </li>
                        <li>
                        <ul class="navigation">
                            <li class="heading selected">MySpace</li>
                            <li><a href="@Url.Action("MyProject", "Zone")" title="">我的项目</a></li>
                            <li><a href="@Url.Action("MyAttention", "Zone")" title="">我的关注</a></li>
                            <li><a href="@Url.Action("MyBeteiligung", "Zone")" title="">注资项目</a></li>
                            <li><a href="@Url.Action("Create", "Project")" title="">添加项目</a></li>
                        </ul>
                    </li>
                }
                else
                {
                     <li>
                        <ul class="navigation">
                            <li class="heading selected">MySpace</li>
                            <li><a href="@Url.Action("MyProject", "Zone")" title="">我的项目</a></li>
                            <li><a href="@Url.Action("MyAttention", "Zone")" title="">我的关注</a></li>
                            <li><a href="@Url.Action("MyBeteiligung", "Zone")" title="">注资项目</a></li>
                            <li><a href="@Url.Action("Create", "Project")" title="">添加项目</a></li>
                        </ul>
                    </li> 
                }
             }             
        </ul>
    </div>
    <!-- Left Dark Bar End --> 
    
    

</body>
</html>
